﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BussinessObject;
using Class_Entity;

public partial class Place_Insert : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void btnInsert_Click(object sender, EventArgs e)
    {
        BO_Place bopl = new BO_Place();
        CE__Place cepl = new CE__Place();

        cepl._PlaceName = txtName.Text;
        bopl.AddNew_Place(cepl);
        HttpContext.Current.Response.Write("<script type='text/javascript'>alert('" + "Done" + "');window.location.href='Place Managerment.aspx';</script>");
    }
}